Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FES-3 Fix Redis config #2

Conversation

nfesta2023
Copy link
Contributor

@nfesta2023 nfesta2023 commented Dec 21, 2023

Status Type Env Vars Change Ticket
Ready Hotfix No Link

Problem

The cache does not use Redis as its store.

Solution

  • Change the register method from sync to async
  • Use package 'cache-manager-redis-yet' instead of 'cache-manager-redis-store' to fix the type error of redisStore
  • Use property 'url' instead of 'host' and 'port' to de-active the auto destination detecting.

Reference:

Other changes (e.g. bug fixes, UI tweaks, small refactors)

Deploy Notes

Nope

New environment variables:

Nope

New scripts:

Nope

New dependencies:

  • cache-manager-redis-yet : Redis cache store

@nfesta2023 nfesta2023 merged commit 2192656 into main Jan 3, 2024
@nfesta2023 nfesta2023 deleted the FES-3-authorization-service-implement-redis-cache-to-store-otp-2 branch January 17, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants